﻿using System;
using DBA.Common;
using System.Collections;
using System.Collections.Generic;

namespace DBA.Model
{
    /// <summary>
    ///功能描述    :    PaperWorkSum
    ///开发者      :    
    ///建立时间    :    2012/9/2 19:53:34
    ///修订描述    :    
    ///进度描述    :    
    ///版本号      :    1.0
    ///最后修改时间:    2012/9/2 19:53:34
    /// </summary>
        [OrmPropertyAttribute(TableName = "PaperWorkSum",PrimaryKey = "Pws_id",PrimaryKeyType = "IDENTITY",ParameterType = "int")]
    public class PaperWorkSum
    {
        #region 构造函数
        public PaperWorkSum(){}
        
        public PaperWorkSum(int pws_id,string pw_Year,int pw_Teacher,int pw_PaperCount,int pw_PaperDetail,string pw_Demo)
        {
           this._pws_id = pws_id;
           this._pw_Year = pw_Year;
           this._pw_Teacher = pw_Teacher;
           this._pw_PaperCount = pw_PaperCount;
           this._pw_PaperDetail = pw_PaperDetail;
           this._pw_Demo = pw_Demo;

        }
        #endregion
        
        #region 成员
        private int _pws_id;
        private string _pw_Year;
        private int _pw_Teacher;
        private int _pw_PaperCount;
        private decimal _pw_PaperDetail;
        private string _pw_Demo;
        #endregion
        
        #region 属性
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "int",ParameterLength = 4,IsNull = "0")]
        public virtual int Pws_id
        {
            get { return _pws_id; }
            set { _pws_id = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "varchar",ParameterLength = 10,IsNull = "1")]
        public virtual string Pw_Year
        {
            get { return _pw_Year; }
            set { _pw_Year = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "int",ParameterLength = 4,IsNull = "1")]
        public virtual int Pw_Teacher
        {
            get { return _pw_Teacher; }
            set { _pw_Teacher = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "int",ParameterLength = 4,IsNull = "1")]
        public virtual int Pw_PaperCount
        {
            get { return _pw_PaperCount; }
            set { _pw_PaperCount = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "decimal", ParameterLength = 4, IsNull = "1")]
        public virtual decimal Pw_PaperDetail
        {
            get { return _pw_PaperDetail; }
            set { _pw_PaperDetail = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "nvarchar",ParameterLength = 1000,IsNull = "1")]
        public virtual string Pw_Demo
        {
            get { return _pw_Demo; }
            set { _pw_Demo = value; }
        }
        #endregion
    }
}